﻿using System.IO;
using System.Runtime.Serialization;
using System.ServiceModel;
using Yunzuan.Common.Interface;

namespace RetailService
{

    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码和配置文件中的接口名“IUser”。
    [ServiceContract]  //说明接口是一个WCF的接口
    public interface IRetail
    {
        //[OperationContract(Action = "UploadFile", IsOneWay = true)]
        //void UploadFile(FileUploadMessage request);//文件上传

        [OperationContract]
        string DownTemplate();//下载上传模板

        [OperationContract]
        string DownEntryTemplate();//下载录单模板
        [OperationContract]
        string AddSupplierRole(string param);

        [OperationContract]
        string GetDeliverys(string getDeliverysParam);//查看取货单

        [OperationContract]
        string GetArrivals(string getArrivalsParam);//到货日期查询 9-28

        [OperationContract]
        UpFileResult UploadFile(FileUploadMessage request);//文件上传

        [OperationContract]
        UpFileResult UploadImage(ImageUploadMessage imageParam);//上传图片（成品 统包）
        [OperationContract]
        string ContactSupplier(string contactParam);//供应商联系方式 11-5



        [OperationContract]
        string ModFreight(string freightParam);//修改订单运费 11-11

        [OperationContract]  //说明是一个WCF接口的方法
        string ModifyPurchaseUserID(string modifyPurchaseUserIDParam); //转移订单

        [OperationContract]  //说明是一个WCF接口的方法
        string GetOrders(string getOrdersParam); //订单列表

        [OperationContract]  //说明是一个WCF接口的方法
        string SettleOrders(string settleOrdersParam); //订单结算 11-2 数据库字段排序

        [OperationContract]  //说明是一个WCF接口的方法
        string GetUsers(string getUsersParam); //团队列表

        [OperationContract]
        string GetSales(string getSalesParam);//业务列表

        [OperationContract]
        string GetSaleList(string getSaleListParam);//所有业务 9-6

        [OperationContract]
        string GetRapnetList();//报价列表

        [OperationContract]
        string GetPurchases(string getPurchasesParam);//采购列表

        [OperationContract]
        string GetPurchaseList(string getPurchaseListParam);//所有采购

        [OperationContract]
        string GetPurchasers(string getPurchasersParam);//所有纯采购 9-26


        [OperationContract]
        string GetNotices(string getNoticesParam);//所有公告列表

        [OperationContract]
        string GetNoticeList(string getNoticeListParam);//发布中公告列表 11-16

        [OperationContract]
        string GetGlobals(string getGlobalsParam);//所有全局配置列表 11-10  IList

        [OperationContract]
        string GetSettingInfo(string settingInfoParam);//单个全局

        [OperationContract]
        string EditGlobal(string editGlobalParam);//修改全局 11-10

        [OperationContract]  //说明是一个WCF接口的方法
        string GetSuppliers(string getSuppliersParam); //供应商列表

        [OperationContract]
        string GetSupplierList(string getSupplierListParam); //所有供应商 9-6

        [OperationContract]  //说明是一个WCF接口的方法
        string GetCharges(string getChargesParam); //充值记录

        [OperationContract]
        string ExportCharges(string exportChargesParam); //导出充值记录 12-3

        [OperationContract]
        string GetExportUrl(string exportParam);//导出裸钻

        //收支（流水Flow）start  12-3

        [OperationContract]
        string GetFlows(string getFlowsParam); //收支明细（流水）

        [OperationContract]
        string GetFlow(string getFlowParam);//收支详情

        [OperationContract]
        string AddFlow(string addFlowParam);//添加流水

        [OperationContract]
        string FlowNumber(string flowNumberParam);//流水状态个数统计

        [OperationContract]
        string EditFlow(string editFlowParam);//修改流水

        [OperationContract]
        string ExportFlows(string expFlowsParam);//导出银行流水

        [OperationContract]
        string GetOrderIDsDetail(string orderIDsParam);//订单详情

        //---核心start----

        [OperationContract]
        string ModifyFlow(string modifyFlowParam);//审核流水 -重中之重

        [OperationContract]
        string ModifyExchange(string modifyExchangeParam);//换美金/采购汇率/兑换记录 01-04

        [OperationContract]
        string BankTransfer(string bankTransferParam);//转账到

        [OperationContract]
        string DirectCharge(string directChargeParam);//直接充值 01-05

        //---核心end---

        //收支（流水Flow）end

        [OperationContract]
        string OnShelves(string param);//上架

        [OperationContract]
        string OffShelves(string param);//下架

        //银行账户start
        [OperationContract]
        string GetBanks(string getBanksParam);//银行账户列表

        [OperationContract]
        string GetBankList(string getBankListParam);//银行账户列表Ilist

        [OperationContract]
        string GetBank(string getBankParam);//银行账户

        [OperationContract]
        string AddBank(string addBankParam);//添加账户

        [OperationContract]
        string EditBank(string editBankParam);//账户对账
        //银行账户end

        [OperationContract]
        string GetPays(string getPaysParam);//消费记录

        [OperationContract]
        string ModifySalesUserID(string modifySalesUserIDParam);//移交客户

        [OperationContract]
        string GetShipOrders(string getShipOrdersParam);//出货单订单列表

        [OperationContract]
        string PrintShipOrders(string printShipOrdersParam);//打印出货单 9-20

        [OperationContract]  //说明是一个WCF接口的方法
        string SubmitOrder(string submmitOrderParam); //提交订单

        [OperationContract]  //说明是一个WCF接口的方法
        string EntryOrder(string entryOrderParam);//订单录入（单条）

        [OperationContract]
        string EntryCheck(string entryCheckParam);//录入检查 9-27

        [OperationContract]  //说明是一个WCF接口的方法
        string AddToCart(string addToCartParam); //添加购物车(单个)

        [OperationContract]
        string MultiAddToCart(string multiAddToCartParam);//添加购物车(多个)

        [OperationContract]
        string RemoveFromCart(string removeFromCartParam);//移出购物车

        [OperationContract]  //说明是一个WCF接口的方法
        string GetCartInfos(string cartInfoParam);//获取购物车详情列表

        [OperationContract]  //说明是一个WCF接口的方法
        string GetCarts(string cartsParam);//获取购物车列表

        [OperationContract]  //说明是一个WCF接口的方法
        string GetInventoryInfos(string inventoryInfoParam, string key = "");//获取在线库存（多个） //PageList<InventoryInfoResult>     

        [OperationContract]  //说明是一个WCF接口的方法
        string GetInventoryInfo(string inventoryInfoParam);//获取在线库存（单个） //InventoryInfo

        [OperationContract]
        string GetSupplierInfo(string supplierInfoParam);//单个供应商

        [OperationContract]
        string UploadFileState(string uploadFileStateParam);//上传模式

        [OperationContract]
        string AddNotice(string addNoticeParam);//发布公告

        [OperationContract]  //说明是一个WCF接口的方法
        string AddCharge(string addChargeParam);//新增记账明细

        [OperationContract]
        string EditNotice(string editNoticeParam);//编辑公告

        [OperationContract]  //说明是一个WCF接口的方法
        string EditCharge(string editChargeParam);//确认充值

        [OperationContract]
        string EditShipNo(string editShipNoParam);//支付出货单

        [OperationContract]
        string PayOrders(string payOrdersParam);//收款

        [OperationContract]
        string PayBackOrders(string payOrdersParam);//收款

        [OperationContract]
        string ReceiptOrders(string payOrdersParam);//付款

        [OperationContract]
        string PayUSDOrders(string payUSDOrdersParam);//USD支付订单

        [OperationContract]
        string DelOrders(string delOrdersParam);//删除订单 9-29
        [OperationContract]
        string DelOrdersByOwner(string delOrdersParam);//删除现货订单 （备用表，非订单表）

        [OperationContract]  //说明是一个WCF接口的方法
        string EditSupplier(string editSupplierParam);//编辑供应商

        [OperationContract]  //说明是一个WCF接口的方法
        string AddUser(string addUserParam);//新增团队（公司团队）

        [OperationContract]  //说明是一个WCF接口的方法
        string AddSupplier(string addSupplierParam);//新增供应商

        [OperationContract]  //说明是一个WCF接口的方法
        string EditUser(string editUserParam);//编辑团队（公司团队）

        [OperationContract]
        string SupplierRegIsExist(string supplierRegIsExistParam);//供应商简称是否已存在
        [OperationContract]
        string CustomerRegIsExist(string customerRegIsExistParam);
        [OperationContract]  //说明是一个WCF接口的方法
        string UserRegIsExist(string userRegIsExistParam);//团队新增是否存在（公司员工）

        [OperationContract]  //说明是一个WCF接口的方法
        string UserLogin(string userLoginParam);//团队登录（公司员工）

        [OperationContract]
        string TeamModifyPassword(string teamModifyPasswordParam);//团队修改密码（公司团队） 9-21

        [OperationContract]
        string GetNoticeInfo(string noticeInfoParam);//公告

        [OperationContract]
        string ViewNoticeInfo(string noticeInfoParam);//浏览公告

        [OperationContract]
        string GetOrderInfo(string orderInfoParam);//获取订单信息

        [OperationContract]  //说明是一个WCF接口的方法
        string GetChargeInfo(string chargeInfoParam);//获取记账明细（公司团队)

        [OperationContract]  //说明是一个WCF接口的方法
        string GetUserInfo(string userInfoParam);//获取员工资料（公司员工)

        [OperationContract]  //说明是一个WCF接口的方法
        string GetSysSettingInfo(string param);//获取所有配置

        //[OperationContract]
        //string GetRate();//获取售出汇率

        [OperationContract]
        string GetRate(string getRateParam);//获取售出汇率 11-10

        [OperationContract]
        string GetExchangeRate(string param);//获取采购汇率 9-6

        [OperationContract]  //说明是一个WCF接口的方法
        string EditSysSettingInfo(string editSysSettingInfoParam);//修改配置

        [OperationContract]
        string AddShip(string addShipParam);//制作出货单

        [OperationContract]
        string EditShip(string editShipParam);//出货

        [OperationContract]
        string Shipment(string shipParam);//确认出货

        [OperationContract]
        string UpdateLog();//更新日志 9-29

        [OperationContract]
        string UpdateRapXml();//更本地新报价表XML 10-8

        [OperationContract]
        string OrderReport(string reportParam);//报表

        /// <summary>
        /// 裸钻管理（新增 修改 删除 批量调价）
        /// </summary>
        /// <param name="modifyDiaParam"></param>
        /// <returns></returns>

        [OperationContract]
        string ModifyDia(string modifyDiaParam);//修改裸钻

        [OperationContract]
        string AddDia(string addDiaParam);//添加裸钻

        [OperationContract]
        string DelDia(string delDiaParam);//删除裸钻

        [OperationContract]
        string BatchDia(string batchDiaParam);//批量调整裸钻价格

        [OperationContract]
        string BatchUpdateDia(string batchUpdateDiaParam);//批量调整裸钻参数

        /// <summary>
        /// 用户活跃度AU
        /// </summary>
        /// <returns></returns>

        [OperationContract]
        string GetActiveTime(string activeTimeParam);//活跃时间

        [OperationContract]
        string GetActiveArea(string activeAreaParam);//活跃地区

        /// <summary>
        /// 兑换记录 01-03
        /// </summary>
        /// <param name="getExchangesParam"></param>
        /// <returns></returns>

        [OperationContract]
        string GetExchanges(string getExchangesParam);

        //[OperationContract]
        //string GetExchangeList(string getExchangeListParam);

        [OperationContract]
        string ComputePurchaseExchange(string computePurchaseExchangeParam);//计算采购汇率

        /// <summary>
        /// 统计方法
        /// </summary>
        [OperationContract]
        string OrderNumber(string orderNumberParam);//订单个数统计

        [OperationContract]
        string SettleOrderNumber(string settleOrderNumberParam);//结算订单个数统计 11-2

        [OperationContract]
        string OrderPaymentStatusNumber(string orderPaymentStatusNumberParam);//订单支付状态统计

        [OperationContract]
        string SettleOrderPaymentStatusNumber(string settleOrderPaymentStatusNumberParam);//结算订单支付状态统计  11-2

        [OperationContract]
        string OrderMonth(string orderMonthParam);//每月订单个数统计 9-22


        [OperationContract]
        string ChargeNumber(string chargeNumberParam);//充值个数统计

        [OperationContract]
        string CartNumber(string cartNumberParam);//购物车个数  

        #region 统包Parcel 方法

        #endregion

        /// <summary>
        /// 成品方法 11-21
        /// </summary>

        [OperationContract]
        string GetInlays(string getInlaysParam);//成品列表 11-21

        [OperationContract]
        string ModInlays(string modInlaysParam);//成品修改

        [OperationContract]
        string AddInlays(string addInlaysParam);//成品添加

        [OperationContract]
        string DeleteInlays(string delInlaysParam);//成品删除

        [OperationContract]
        string GetInlay(string getInlayParam);//单个成品详情


        [OperationContract]
        string GetRingOrderInfo(string ordersParam);//单个订单


        /// <summary>
        /// 过滤中心供应商
        /// </summary>
        /// <returns></returns>

        [OperationContract]
        string GetCenterSuppliers(string param);//远程供应商列表 12-27

        [OperationContract]
        string GetCenterSupplier(string getCenterSupplierParam);//单个远程供应商 12-27

        [OperationContract]
        string GetSuppliersSet(string param); //得到多个设置

        [OperationContract]
        string SetSupplier(string param); //单个设置黑名单

        [OperationContract]
        string SetSupplierWhite(string param); //单个设置白名单

        [OperationContract]
        string GetSupplierSet(string param);//得到单个设置

        [OperationContract]
        string SetSuppliers(string param); //批量设置

        [OperationContract]
        int DelSupplier(string setSupplierParam);
        /// <summary>
        /// 裸钻库存批量修改（需要签名）
        /// </summary>
        /// <param name="udateInventoryParam"></param>
        /// <returns></returns>
        [OperationContract]
        string BatchUpStockData(string batchDiaParam);

        [OperationContract]
        string GetNotice(string param);
        [OperationContract]
        string GetInventoryInfosCount(string inventoryInfoParam);

        [OperationContract]
        string GetLink(string param);
        [OperationContract]
        string UpdateLink(string param);
        [OperationContract]
        string GetRapnetByParam(string param);



        /// <summary>
        /// 查询订单通过出货单号
        /// </summary>
        /// <param name="CancelGemOrdersParam"></param>
        /// <returns></returns>
        [OperationContract]
        string GetAllOrderByShipNo(string shipOrdersParam);
        /// 删除出货单里面的订单
        [OperationContract]
        string DeleteOrderInShipNoByOrderIdsOrShipNo(string shipOrdersParam);
        /// <summary>
        /// 权限相关
        /// </summary>
        /// <returns></returns>
        [OperationContract]
        string GetJobTitleInfo(string param);
        [OperationContract]
        string GetMenuList(string menuParam);

        /// <summary>
        ///  修改 职能
        /// </summary>
        /// <param name="batchUpdateDiaParam"></param>
        /// <returns></returns>
        [OperationContract]
        string UpdateJobTitle(string updateParam);
        /// <summary>
        ///  新增 职能
        /// </summary>
        /// <param name="batchUpdateDiaParam"></param>
        /// <returns></returns>
        [OperationContract]
        string AddJobTitle(string addParam);

        //币种设置 0 all  ,1 rmb ,2 usd
        [OperationContract]
        string EditGlobalCurrency(string editGlobalParam);
        #region 其它订单相关



        [OperationContract]
        string AddUnitName(string createParam);
        [OperationContract]
        string GetUnit(string getParam);
        //&&&&&&&&&&&&以下为 订单操作相关&&&&&&&&&&&&&&&&




        #endregion

        #region 收货地址
        [OperationContract]
        string DeleteReceivingAddress(string param);
        [OperationContract]
        string EditReceivingAddress(string param);
        [OperationContract]
        string GetReceivingAddress(string param);
        [OperationContract]
        string AddReceivingAddress(string param);
        #endregion 收货地址end

        #region 微信用户
        [OperationContract]
        string AddCustomer(string param);

        [OperationContract]
        string GetCustomerInfo(string param);
        [OperationContract]
        string GetCustomerList(string getCustomerListParam);
        [OperationContract]
        string GetCustomers(string getCustomersParam);
        [OperationContract]
        string EditCustomer(string editCustomerParam);
        [OperationContract]
        string CustomerNumber(string customerNumberParam);
        [OperationContract]
        int GetCustomerIdByOpenid(string openid, string tttagKey);
        #endregion

        #region 素金


        [OperationContract]
        string BindOnAccount(string param);
        [OperationContract]
        string Register(string regInfo);
        [OperationContract]
        string IsNoRegister(string param);
        [OperationContract]
        string ValidateCode(string param);
        #endregion
        #region 客户相关
        [OperationContract]
        string CustomerLogin(string customerLoginParam);
        #endregion



        #region 此处存放首页特定栏目相关的函数


        //本店产品
        [OperationContract]
        string GetProducts(string param);


        [OperationContract]
        string EditProduct(string param);


        //品牌介绍
        [OperationContract]
        string GetBrand(string param);
        [OperationContract]
        string EditBrand(string param);
        //预约进店
        [OperationContract]
        string GetAppointment(string param);

        //新闻，  //帮助中心support center

        [OperationContract]
        string GetArticles(string param);


        [OperationContract]
        string EditArticles(string param);

        [OperationContract]
        string AddArticles(string param);
        [OperationContract]
        string DelArticles(string param);

        [OperationContract]
        string GetArticlesFlag(string param);


        [OperationContract]
        string EditArticlesFlag(string param);

        [OperationContract]
        string AddArticlesFlag(string param);
        [OperationContract]
        string DelArticlesFlag(string param);
        #endregion 此处存放首页特定栏目相关的函数

        #region
        /// <summary>
        /// 提交订单
        /// </summary>
        /// <param name="submmitOrderParam"></param>
        /// <returns></returns>
        [OperationContract]
        string SubmitOrders(string submmitOrderParam, string isOpenInterface);

        /// <summary>
        /// 查询订单
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string GetAllOrdersList(string strParam);
        /// <summary>
        /// 更新订单
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string UpdateProductsOrder(string strParam);
        /// <summary>
        /// 查询购物车
        /// </summary>
        /// <param name="selectParam"></param>
        /// <returns></returns>
        [OperationContract]
        string GetAllCartsList(string strParam);

        /// <summary>
        /// 加入购物车
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string AddCart(string strParam);

        /// <summary>
        ///  删除购物车
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string DeleteCart(string strParam);


        /// <summary>
        /// 团队查询订单
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string GetTeamOrdersList(string strParam);
        [OperationContract]
        string DeliveryOrders(string deliveryOrdersParam);
        /// <summary>
        /// 打印出货单 9-20
        /// </summary>
        /// <param name="deliveryOrdersParam"></param>
        /// <returns></returns>
        [OperationContract]
        string GetPrintShipOrders(string printShipOrdersParam);

        /// <summary>
        /// 团队 买价
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string updatePriceUSD(string param);

        /// <summary>
        /// 团队 采汇
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string updatePurchaseExchangerate(string param);

        /// <summary>
        /// 收款
        /// </summary>
        /// <param name="stockOrdersParam"></param>
        /// <returns></returns>
        [OperationContract]
        string PayAndRechargeOrders(string payOrdersParam);

        /// <summary>
        /// 团队 更新所在地
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string UpdatePlace(string strParam);
        /// <summary>
        /// 回库
        /// </summary>
        /// <param name="addDiaParam"></param>
        /// <returns></returns>
        [OperationContract]
        string ReStock(string addDiaParam);

        /// <summary>
        //客户修改密码（公司客户）
        /// </summary>
        /// <param name="customerModifyPasswordParam"></param>
        /// <returns></returns>
        [OperationContract]
        string CustomerModifyPassword(string customerModifyPasswordParam);

        /// <summary>
        /// 查询客户购物车中商品的数量
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string getCartNumByCustomerID(string strParam);

        /// <summary>
        /// 批量修改裸钻到货时间
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string UpdateArrivalTime(string param);
        /// <summary>
        /// 现货修改付款状态
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string UpdateReciptStatus(string param);
        /// <summary>
        /// 获取采购名称
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string GetPurchaseAgents(string param);
        /// <summary>
        /// 现货修改买价
        /// </summary>
        /// <param name="param">"filter":{"ID":["111","222"]},"factor":"1.1","field":"PurchaseUSDPerGrain"</param>
        /// <returns></returns>
        [OperationContract]
        string UpdateStockingPrice(string param);
        /// <summary>
        /// 现货修改汇率
        /// </summary>
        /// <param name="param">"filter":{"ID":["111","222"]},"value":"7","field":"PurchaseExchange"</param>
        /// <returns></returns>
        [OperationContract]
        string UpdatesStockingPurchaseExchange(string param);
        /// <summary>
        /// 现货上架
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string OnStocksBatch(string param);
        /// <summary>
        /// 现货下架
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string OffStocksBatch(string param);

        #endregion

        [OperationContract]
        string QuerySupplierRole(string param);
        [OperationContract]
        string AddAppointment(string param);
        [OperationContract]
        string CustomerLoginAndRegister(string regInfo);
        [OperationContract]
        string GetCartsCount(string cartsParam);
        #region  微信登录相关
        /// <summary>
        /// 添加微信登录的用户信息
        /// </summary>
        /// <param name="param"></param>
        /// <param name="type">微信用户类型，默认公众号用户</param>
        /// <returns></returns>
        [OperationContract]
        bool AddWXCustomer(string tttagKey, string param, int type = 0);
        #endregion

        #region 现货增删改查
        /// <summary>
        /// 新增商品
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string AddProductData(string strParam);
        /// <summary>
        /// 删除商品
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string DelProductData(string strParam);
        /// <summary>
        /// 现货修改
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string ModifyProductData(string strParam);
        /// <summary>
        /// 查货
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string GetProductData(string strParam, string key);
        /// <summary>
        /// 查货数量
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string GetProductDataCount(string strParam);
        /// <summary>
        /// 查询单个明细
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string GetProductDataById(string strParam);
        /// <summary>
        /// 修改金价
        /// </summary>
        /// <param name="strParam"></param>
        /// <param name="type"></param>
        /// <returns></returns>
        [OperationContract]
        string PutPrimeGoldsPrice(string strParam);
        /// <summary>
        /// 获取金价
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string GetPrimeGoldsPrice(string strParam);
        #endregion

        #region 现货批量修改
        /// <summary>
        /// 批量修改商品
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string ModifyProducts(string strParam);
        /// <summary>
        /// 批量修改商品
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string DelteProducts(string strParam);
        /// <summary>
        /// 更新付款状态
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string UpdateProductPayStatus(string strParam);
        /// <summary>
        /// 批量改价
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string UpdateProductPrice(string strParam);
        #endregion

        #region 批量上传图片视频 
        /// <summary>
        /// 批量上传图片视频
        /// </summary>
        /// <param name="imageParam"></param>
        /// <returns></returns>
        [OperationContract]
        UpFileResult UploadImagesAndVideos(ImageUploadMessage imageParam);
        #endregion

        #region 市场倍率
        /// <summary>
        /// 获取市场倍率
        /// </summary>
        /// <returns></returns>
        [OperationContract]
        string GetMarketRate(string param);
        /// <summary>
        /// 修改市场倍率
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string ModifyMarketRate(string strParam);
        #endregion
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string AddCustomerMenu(string param);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string DelCustomerMenu(string param);

        /// <summary>
        /// 更新
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string UpdateCustomerMenu(string param);

        /// <summary>
        /// 查
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string GetCustomerMenu(string strParam);
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string AddCustomerDesign(string param);


        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string DelCustomerDesign(string param);

        /// <summary>
        /// 更新
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        string UpdateCustomerDesign(string param);

        /// <summary>
        /// 查
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string GetCustomerDesign(string strParam);

        /// <summary>
        /// 查询所有商品库存 TAG
        /// </summary>
        /// <param name="strParam"></param>
        /// <returns></returns>
        [OperationContract]
        string GetAllProducts(string strParam);

        #region 设置客户登录方式和代下单的倍率 设置推荐
        [OperationContract]
        string AddLoginMode(string strParam);
        [OperationContract]
        string PurchaseOrder(string strParam);
        [OperationContract]
        string GetLoginMode(string strParam);

        [OperationContract]
        string ModifyLoginMode(string strParam);

        [OperationContract]
        string AddOrderRate(string strParam);
        [OperationContract]
        string ArrivalOrders(string strParam);
        [OperationContract]
        string ReviseOrders(string strParam);
        [OperationContract]
        string RemarkOrder(string strParam);
        [OperationContract]
        string ReturnOrders(string strParam);
        [OperationContract]
        string ActiveCustomer(string strParam);
        [OperationContract]
        string CancelOrders(string strParam);
        [OperationContract]
        string StockOrders(string strParam);
        [OperationContract]
        string CancelArrivalOrders(string strParam);
        [OperationContract]
        string GetAllShipNo(string strParam);
        [OperationContract]
        string DownloadOrder(string strParam);
        [OperationContract]
        string ExportAllOrder(string strParam);
        [OperationContract]
        string GetOrderRate(string strParam);
        [OperationContract]
        string ModifyOrderRate(string strParam);

        [OperationContract]
        string AddRecommend(string strParam);
        [OperationContract]
        string DelRecommend(string strParam);
        [OperationContract]
        string GetRecommend(string strParam);
        [OperationContract]
        string ModifyRecommend(string strParam);
        #endregion

        [OperationContract]
        string ReVerify(string param);


        #region  分享场景相关
        [OperationContract]
        string GetScene(string param);
        [OperationContract]
        string EditScene(string param);
        [OperationContract]
        string DelScene(string param);
        [OperationContract]
        string AddScene(string param);

        #endregion  分享场景相关end


        [OperationContract]
        #region  小程序相关 
        string BindByParam(string customerAndOpenId, string key);
        /// <summary>
        /// 分享的用户绑定到指定业务
        /// </summary>
        /// <param name="bindParam"></param>
        /// <returns></returns>
        [OperationContract]
        string BindSalesByOpenId(string bindParam, string key);
        #endregion

    }
}
